Ext.define('Admin.view.dashboard.OvertimeBoard', {
    extend: 'Ext.grid.Panel',
    xtype: 'overtimeBoard',
    id: 'overtimeBoard',

    title: '加班申请状态',

    bind: '{overtime}',

    minHeight: 280,

    columns: [{
        text: '申请日期',
        dataIndex: 'createDate',
        flex: 3,
        sortable: false,
        disabled: true
    },
    {
        text: '开始时间',
        dataIndex: 'beginTime',
        flex: 1,
        sortable: false,
        disabled: true
    },
    {
        text: '结束时间',
        dataIndex: 'endTime',
        flex: 1,
        sortable: false,
        disabled: true
    },
    {
        text: '申请状态',
        dataIndex: 'state',
        flex: 2,
        sortable: false,
        disabled: true
    }
    ]

});